import {Injectable} from '@angular/core';
import {HttpService} from './http.service';
import {API} from '../api';

@Injectable({
    providedIn: 'root',
})
export class UserService {

    constructor(private httpService: HttpService) {
    }

    async login(param: { mobile: string; password: string}) {
        return await this.httpService.get(API.LOGIN, param);
        // return 'token';
    }
}
